Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bing: add parameter to enable/disable web search #1360

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Bing: add parameter to enable/disable web search #1360

merged 2 commits into from
Dec 19, 2023

Conversation

nullstreak
Copy link
Contributor

Web search is disabled by default and can be enabled by passing web_search = True into g4f.ChatCompletion.create

nullstreak and others added 2 commits December 17, 2023 16:59
Web search is disabled by default and can be enabled by passing `web_search = True`
@hlohaus hlohaus merged commit 53bc241 into xtekky:main Dec 19, 2023
@hlohaus
Copy link
Collaborator

hlohaus commented Dec 19, 2023

thank you

uENDELIGhet7 pushed a commit to uENDELIGhet7/gpt4free that referenced this pull request Dec 20, 2023
Web search is disabled by default and can be enabled by passing `web_search = True`
uENDELIGhet7 added a commit to uENDELIGhet7/gpt4free that referenced this pull request Dec 20, 2023
* Update Dockerfile

* Update publish-workflow.yaml

* Update Dockerfile

* Remove VoiGpt

* Remove VoiGpt

* Moved NoowAI to deprecated folder as it's been officially taken down

* ~ | g4f v-0.1.9.4

* Fix remove NoowAi, Fix download dir in docker

* HuggingChat: Strip leading whitespace from the first token in the stream

For some reason first token from the stream on HuggingChat always starts with a whitespace. This commit strips the leading whitespace from the first token in the stream to fix this issue.

* Fix Bing provider Cookie issue

* Removed the condition for filtering token_ids

* Fix Bing provider Cookie issue 2

* fix(g4f): Fix typo in function name

* Bing: add parameter to enable/disable web search (xtekky#1360)

Web search is disabled by default and can be enabled by passing `web_search = True`

* Depend on a stable version of curl_cffi

---------

Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com>
Co-authored-by: devAdityaa <acolydebaian8@gmail.com>
Co-authored-by: abc <98614666+xtekky@users.noreply.github.com>
Co-authored-by: nullstreak <139914347+nullstreak@users.noreply.github.com>
Co-authored-by: eminemkun <teruteruwork@gmail.com>
Co-authored-by: NiNiyas <niyasmohammed64@gmail.com>
Co-authored-by: Yifei Kong <kongyifei@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants